﻿
namespace Sinacor.Infra.UI.Authentication
{
    public class ValidationResults
    {
        bool _isAuthenticated;
        bool _faulted;
        bool _passwordReset = false;
        bool _changePassword = false;
        bool _isBlocked = false;
        User _user = new User();
        string _faultedMessage;
        PSE.Framework.ErrorLogging.LogData _faultedLogData;

        public bool IsAuthenticated
        {
            get { return _isAuthenticated; }
            set { _isAuthenticated = value; }
        }
        public bool Faulted
        {
            get { return _faulted; }
            set { _faulted = value; }
        }
        public bool PasswordReset
        {
            get { return _passwordReset; }
            set { _passwordReset = value; }
        }
        public bool ChangePassword
        {
            get { return _changePassword; }
            set { _changePassword = value; }
        }
        public bool IsBlocked
        {
            get { return _isBlocked; }
            set { _isBlocked = value; }
        }
        public User User
        {
            get { return _user; }
            set { _user = value; }
        }
        public string FaultedMessage
        {
            get { return _faultedMessage; }
            set { _faultedMessage = value; }
        }
        public PSE.Framework.ErrorLogging.LogData FaultedLogData
        {
            get { return _faultedLogData; }
            set { _faultedLogData = value; }
        }
    }
}
